package com.ruoyi.company.notice.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告管理对象 com_notice
 * 
 * @author baike
 * @date 2020-12-18
 */
public class ComNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公告ID */
    private String noticeId;

    /** 公告主题 */
    @Excel(name = "公告主题")
    private String noticeTopic;

    /** 有效时间 */
    @Excel(name = "有效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invalidTime;

    /** 创建人 */
    private String createUser;

    /** 公告类型 */
    @Excel(name = "公告类型")
    private String noticeType;

    /** 公告状态 */
    @Excel(name = "公告状态")
    private String status;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String noticeContent;

    
    public String getNoticeId() {
		return noticeId;
	}

	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setNoticeTopic(String noticeTopic) 
    {
        this.noticeTopic = noticeTopic;
    }

    public String getNoticeTopic() 
    {
        return noticeTopic;
    }
    public void setInvalidTime(Date invalidTime) 
    {
        this.invalidTime = invalidTime;
    }

    public Date getInvalidTime() 
    {
        return invalidTime;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setNoticeType(String noticeType) 
    {
        this.noticeType = noticeType;
    }

    public String getNoticeType() 
    {
        return noticeType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeId", getNoticeId())
            .append("noticeTopic", getNoticeTopic())
            .append("createTime", getCreateTime())
            .append("invalidTime", getInvalidTime())
            .append("createUser", getCreateUser())
            .append("noticeType", getNoticeType())
            .append("status", getStatus())
            .append("noticeContent", getNoticeContent())
            .toString();
    }
}
